package com.zwz.service.impl;

import com.zwz.bean.RootLoginInfo;
import com.zwz.dao.RootLoginDao;
import com.zwz.service.RootLoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class RootLoginServiceImpl implements RootLoginService {

    @Autowired
    private RootLoginDao rootLoginDao;

    @Override
    public Integer login(RootLoginInfo rootLoginInfo) {
        Integer userId = rootLoginDao.login(rootLoginInfo);
        return userId;
    }
}
